//选择方式按钮事件
$("#choosebutton").click(function(e){
	$("#choosebutton").css("display","none");
	$("#phoneform").css("display","block");
});
$("#choosebutton2").click(function(e){
	$("#choosebutton2").css("display","none");
	$("#icNoform").css("display","block");
});
//表单确定按钮提交事件
$("#button").click(function(e){
	if($("#phone").val() != ""){
		if($("#password1").val() != $("#password2").val()){
			$("#message").css("display","block");
		}else{
			$("#message").css("display","none");
			$("#phoneform").submit();
		}
	}
});
$("#button2").click(function(e){
	if($("#icNo").val() != ""){
		if($("#password3").val() != $("#password4").val()){
			$("#message2").css("display","block");
		}else{
			$("#message2").css("display","none");
			$("#icNoform").submit();
		}
	}
});